<?php if(!empty($_GET['act']) && ($_GET['act'] == 'update_pwd')):?>
    <div class="row">
        <h2><b>个人密码修改</b></h2>
    </div>
    <div class="form mt20">
        <form class="form-validate form-horizontal " id="register_form" method="post" action="<?php echo ROOT_URL?>com/buydo.php?act=update_pwd">
            <input type="hidden" name="id" value="<?php echo $user_info['id']?>">
            <div class="form-group ">
                <label for="old_pwd" class="control-label col-lg-2">旧密码 <span class="required">*</span></label>
                <div class="col-lg-10">
                    <input class=" form-control" id="old_pwd" name="old_pwd" type="password" />
                </div>
            </div>
            <div class="form-group ">
                <label for="new_pwd" class="control-label col-lg-2">新密码 <span class="required">*</span></label>
                <div class="col-lg-10">
                    <input class=" form-control" id="new_pwd" name="new_pwd" type="password" />
                </div>
            </div>
            <div class="form-group ">
                <label for="renew_pwd" class="control-label col-lg-2">再次输入新密码 <span class="required">*</span></label>
                <div class="col-lg-10">
                    <input class=" form-control" id="renew_pwd" name="renew_pwd" type="password" />
                </div>
            </div>
            <div class="form-group">
                <div class="pull-right">
                    <button class="btn btn-danger" type="submit">提交</button>
                </div>
            </div>
        </form>
    </div>
<?php endif;?>